import hashlib
str="234"
hash1=hashlib.md5()
hash1.update(str.encode("utf-8"))
print(hash1.digest())
print(hash1.hexdigest().upper())